/**
 *@desc
 *@author bie
 *@date [$]
 */
import React from 'react';
// @ts-ignore
import { Menu } from 'abc-ui';

const MenuItem = Menu.MenuItem;
const SubMenu = Menu.SubMenu;
export default () => {
  return (
    <div
      style={{
        padding: '20px 40px',
        width: '500px',
      }}
    >
      <h3>组件演示</h3>
      <Menu
        defaultIndex="0"
        defaultOpenSubMenus={[]}
        mode="vertical"
        onSelect={function noRefCheck() {}}
      >
        <MenuItem>cool link</MenuItem>
        <MenuItem>cool link 2</MenuItem>
        <MenuItem disabled>disabled</MenuItem>
        <SubMenu title="下拉选项">
          <MenuItem>下拉选项一</MenuItem>
          <MenuItem>下拉选项二</MenuItem>
        </SubMenu>
      </Menu>
    </div>
  );
};
